package com.guigu.service.stock;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.guigu.pojo.stock.SPay;

import java.util.HashMap;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Mr.Zhang
 * @since 2024-12-06
 */
public interface SPayService extends IService<SPay> {

    public SPay getEndSpay();

    public int addSpay(SPay sPay);

    public PageInfo<SPay> selectSpayByPage(HashMap<String, Object> map);

    //修改出库表
    public boolean updateSpay(SPay sPay);

    //根据出库单编号获取出库单的主键
    public Integer findBySpayId(String spayId);
}
